﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _03CompanyInfo
{
    class _03CompanyInfo
    {
        static void Main(string[] args)
        {
            //A company has name, address, phone number, fax number, web site and manager.
            //The manager has first name, last name, age and a phone number. 
            //Write a program that reads the information about a company and its manager and prints them on the console.
            Console.Write("Company name: ");
            string companyName = Console.ReadLine();
            Console.Write("Company address: ");
            string address = Console.ReadLine();
            Console.Write("Company phone number: ");
            string phoneNumber = Console.ReadLine();
            Console.Write("Company fax number: ");
            string faxNumber = Console.ReadLine();
            Console.Write("Company web site: ");
            string webSite = Console.ReadLine();
            
            Console.Write("Manager first name: ");
            string manFirstName = Console.ReadLine();
            Console.Write("Manager last name: ");
            string manLastName = Console.ReadLine();
            Console.Write("Manager age: ");
            byte manAge = byte.Parse(Console.ReadLine());
            Console.Write("Manager phone number: ");
            string manPhone = Console.ReadLine();

            Console.WriteLine();
            Console.WriteLine("Company name:            | {0}", companyName);
            Console.WriteLine("Company address:         | {0}", address);
            Console.WriteLine("Company phone number:    | {0}", phoneNumber);
            Console.WriteLine("Company fax number:      | {0}", faxNumber);
            Console.WriteLine("Company web site:        | {0}", webSite);

            Console.WriteLine();
            Console.WriteLine("Manager first name:      | {0}", manFirstName);
            Console.WriteLine("Manager last name:       | {0}", manLastName);
            Console.WriteLine("Manager age:             | {0}", manAge);
            Console.WriteLine("Manager phone number:    | {0}", manPhone);
            Console.WriteLine();
           
        }
    }
}
